//
//  MPTNotificationKey.h
//  MiaoPai
//
//  Created by jiaxuzhou on 2017/6/28.
//  Copyright © 2017年 Jeakin. All rights reserved.
//
//  存放一些与app级别相关的关键字


#ifndef MPTNotificationKey_h
#define MPTNotificationKey_h

/**
 app开启状态相关的通知
 */

/// 应用程序启动时的通知
#define MPT_NotifKey_UIApplicationDidFinishLaunchingNotification UIApplicationDidFinishLaunchingNotification
/// 从活动状态进入非活动状态 这个阶段应该保存UI状态
#define MPT_NotifKey_UIApplicationWillResignActiveNotification UIApplicationWillResignActiveNotification
/// 程序进入后台时调用  这个阶段应该保存用户数据，释放一些资源
#define MPT_NotifKey_UIApplicationDidEnterBackgroundNotification UIApplicationDidEnterBackgroundNotification
/// 程序进入前台并处于活动状态时通知 这个阶段应该恢复UI状态
#define MPT_NotifKey_UIApplicationDidBecomActiveNotification UIApplicationDidBecomActiveNotification
/// 程序进入前台，但是还没有处于活动状态时调用
#define MPT_NotifKey_UIApplicationWillEnterForegroundNotification UIApplicationWillEnterForegroundNotification
/// 程序被杀死时调用
#define MPT_NotifKey_UIApplicationWillTerminateNotification UIApplicationWillTerminateNotification


/**
 键盘通知
 */

/// 键盘即将出现通知
#define MPT_NotifKey_UIKeyboardWillShowNotification UIKeyboardWillShowNotification
/// 键盘已经出现通知
#define MPT_NotifKey_UIKeyboardDidShowNotification UIKeyboardDidShowNotification
/// 键盘即将消失通知
#define MPT_NotifKey_UIKeyboardWillHideNotification UIKeyboardWillHideNotification
/// 键盘已经消失通知
#define MPT_NotifKey_UIKeyboardDidHideNotification UIKeyboardDidHideNotification


/**
 textField 输入监听
 */

/// TextField 即将输入文字通知
#define MPT_NotifKey_UITextFieldTextDidBeginEditingNotification UITextFieldTextDidBeginEditingNotification
/// TextField 结束输入通知
#define MPT_NotifKey_UITextFieldTextDidEndEditingNotification UITextFieldTextDidEndEditingNotification
/// TextField 输入文字改变
#define MPT_NotifKey_UITextFieldTextDidChangeNotification UITextFieldTextDidChangeNotification

/**
 textView 输入监听
 */

/// TextView 即将输入文字通知
#define MPT_NofifKey_UITextViewTextDidBeginEditingNotification UITextViewTextDidBeginEditingNotification
/// TextView 结束输入通知
#define MPT_NofifKey_UITextViewTextDidEndEditingNotification UITextViewTextDidEndEditingNotification
/// TextView 输入文字改变
#define MPT_NofifKey_UITextViewTextDidChangeNotification UITextViewTextDidChangeNotification


/**
 电话相关通知
 */

/// 电话打入通知
#define MPT_NotifKey_CTCallStateIncoming @"MPT_NotifKey_CTCallStateIncoming"
/// 接听电话通知
#define MPT_NotifKey_CTCallStateConnected @"MPT_NotifKey_CTCallStateConnected"
/// 挂断电话通知
#define MPT_NotifKey_CTCallStateDisconnected @"MPT_NotifKey_CTCallStateDisconnected"
/// 拨号通知
#define MPT_NotifKey_CTCallStateDialing @"MPT_NotifKey_CTCallStateDialing"



/**
 用户行为相关的通知
 */
/// 用户改变了app语言的通知
#define MPT_NotifKey_UserChangedApplicationLanguage @"MPT_NotifKey_UserChangedApplicationLanguage"
/// 用户登录成功的通知
#define MPT_NotifKey_UserLoginSuccess @"MPT_NotifKey_UserLoginSuccess"
/// 用户退出登录
#define MPT_NotifKey_UserLogOut @"MPT_NotifKey_UserLogOut"
/// 用户改变了app主题样式
#define MPT_NotifKey_UserChangeAppTheme @"MPT_NotifKey_UserChangeAppTheme"


#endif
